package com.woniu.lottery;

import com.github.xiaoymin.knife4j.spring.annotations.EnableKnife4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.ComponentScan;



@SpringBootApplication
@MapperScan("com.woniu.lottery.mapper")
@ComponentScan(value = {
        "com.woniu.lottery",
        "com.wn.www.common"
})
@EnableKnife4j
@EnableCaching   //开启缓存
public class LotteryApplication {
    public static void main(String[] args) {
        SpringApplication.run(LotteryApplication.class, args);
    }
}
